<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="init.jsp"%>
<script type="text/javascript" src="../js/jsmenu/stmenu.js"></script>

<div class="" align="right">
<script type="text/javascript">
stm_bm(["menu41c9",900,"","../image/imagemenu/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand","",1,25],this);
stm_bp("p0",[0,4,0,0,1,4,0,0,100,"",-2,"",-2,50,2,2,"#999999","transparent","",3,0,0,"#000000"]);

<c:choose>  
	<c:when test="${loginUser.roleLogin || loginUser.roleViewGraphicalReports}">  
		stm_ai("p0i0", 
				[0,"Thông tin thuê bao","","",-1,-1,0,"../agent/index.do","_self","","","","",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#FFD602",1,
					"../image/imagemenu/bg2.gif","../image/imagemenu/bg5.gif",3,3,0,0,"#E6EFF9","#000000","#000000","#000000","bold 8pt Verdana",
					"bold 9pt Verdana",0,0,"../image/imagemenu/bg1.gif","../image/imagemenu/bg4.gif","../image/imagemenu/bg3.gif",
					"../image/imagemenu/bg6.gif",6,6,22],80,0);
		stm_aix("p0i1","p0i0",[0,"Các cảnh báo","","",-1,-1,0,"../agent/alert.do"],100,0);
		<c:if test="${loginUser.roleAgentManagement }">
			stm_aix("p0i2","p0i0",[0,"Cấu hình tham số","","",-1,-1,0,"../config/edit.do"],120,0);
			stm_aix("p0i3","p0i0",[0,"Quản lý thuê bao","","",-1,-1,0,"../agent/list.do"],120,0);
		</c:if>
		<c:if test="${loginUser.roleUserManagement}">
			stm_aix("p0i4","p0i0",[0,"Quản lý User","","",-1,-1,0,"../user/list.do"],120,0);
			stm_aix("p0i5","p0i0",[0,"Quản lý Group","","",-1,-1,0,"../group/list.do"],120,0);
			stm_aix("p0i6","p0i0",[0,"Quản lý Role","","",-1,-1,0,"../role/list.do"],120,0);
			stm_aix("p0i7","p0i0",[0,"Quản lý Scope","","",-1,-1,0,"../scope/list.do"],120,0);
		</c:if>		
	</c:when>  
	<c:otherwise>
		<c:choose>  
			<c:when test="${loginUser.roleAgentManagement}">  
				stm_ai("p0i0", 
						[0,"Quản lý thuê bao","","",-1,-1,0,"../agent/list.do","_self","","","","",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#FFD602",1,
							"../image/imagemenu/bg2.gif","../image/imagemenu/bg5.gif",3,3,0,0,"#E6EFF9","#000000","#000000","#000000","bold 8pt Verdana",
							"bold 9pt Verdana",0,0,"../image/imagemenu/bg1.gif","../image/imagemenu/bg4.gif","../image/imagemenu/bg3.gif",
							"../image/imagemenu/bg6.gif",6,6,22],80,0);
				<c:if test="${loginUser.roleAgentManagement }">
					stm_aix("p0i2","p0i0",[0,"Cấu hình tham số","","",-1,-1,0,"../config/edit.do"],120,0);
					stm_aix("p0i3","p0i0",[0,"Quản lý thuê bao","","",-1,-1,0,"../agent/list.do"],120,0);
				</c:if>
				<c:if test="${loginUser.roleUserManagement}">
					stm_aix("p0i4","p0i0",[0,"Quản lý User","","",-1,-1,0,"../user/list.do"],120,0);
					stm_aix("p0i5","p0i0",[0,"Quản lý Group","","",-1,-1,0,"../group/list.do"],120,0);
					stm_aix("p0i6","p0i0",[0,"Quản lý Role","","",-1,-1,0,"../role/list.do"],120,0);
					stm_aix("p0i7","p0i0",[0,"Quản lý Scope","","",-1,-1,0,"../scope/list.do"],120,0);
				</c:if>
			</c:when>  
			<c:otherwise>
				<c:if test="${loginUser.roleUserManagement}">
					stm_ai("p0i0", 
							[0,"Quản lý User","","",-1,-1,0,"../user/list.do","_self","","","","",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#FFD602",1,
								"../image/imagemenu/bg2.gif","../image/imagemenu/bg5.gif",3,3,0,0,"#E6EFF9","#000000","#000000","#000000","bold 8pt Verdana",
								"bold 9pt Verdana",0,0,"../image/imagemenu/bg1.gif","../image/imagemenu/bg4.gif","../image/imagemenu/bg3.gif",
								"../image/imagemenu/bg6.gif",6,6,22],80,0);
					<c:if test="${loginUser.roleUserManagement}">
						stm_aix("p0i5","p0i0",[0,"Quản lý Group","","",-1,-1,0,"../group/list.do"],120,0);
						stm_aix("p0i6","p0i0",[0,"Quản lý Role","","",-1,-1,0,"../role/list.do"],120,0);
						stm_aix("p0i7","p0i0",[0,"Quản lý Scope","","",-1,-1,0,"../scope/list.do"],120,0);
					</c:if>		
				</c:if>
			</c:otherwise>
		</c:choose> 
	</c:otherwise> 
</c:choose>	
stm_ep();
stm_em();
</script>

</div>
<div class="clear-both"><span></span></div>


